/******/ (function(modules) { // webpackBootstrap
/******/ 	// The module cache
/******/ 	var installedModules = {};

/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {

/******/ 		// Check if module is in cache
/******/ 		if(installedModules[moduleId])
/******/ 			return installedModules[moduleId].exports;

/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = installedModules[moduleId] = {
/******/ 			exports: {},
/******/ 			id: moduleId,
/******/ 			loaded: false
/******/ 		};

/******/ 		// Execute the module function
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);

/******/ 		// Flag the module as loaded
/******/ 		module.loaded = true;

/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}


/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = modules;

/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = installedModules;

/******/ 	// __webpack_public_path__
/******/ 	__webpack_require__.p = "";

/******/ 	// Load entry module and return exports
/******/ 	return __webpack_require__(0);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ function(module, exports, __webpack_require__) {

	/**
	 * Created by Administrator on 2017/3/14.
	 */
	var Button = __webpack_require__(3);
	var Input = __webpack_require__(4);
	var SelectDropDown = __webpack_require__(30);
	var Layer = __webpack_require__(2);
	var Tooltip = __webpack_require__(38);
	var FormItem = __webpack_require__(5);
	var Checkbox = __webpack_require__(8);
	var HyperLink = __webpack_require__(23);
	var RealName = __webpack_require__(37);
	var GetCode = __webpack_require__(22);
	var AddBankCard = __webpack_require__(40);
	var Root = React.createClass({displayName: "Root",
	    getInitialState: function () {
	      return {
	          realName:PageDM.realNameInfo.value
	      }
	    },
	    componentDidMount: function(){
	        var _this = this;
	        UEventHub.emit("pageLoad","hello world!");
	        UEventHub.on(PageDM.realNameInfo.dmbind + UI_EVENT_CONST.SET_UDM_VALUE_EVENT, function(v){
	            _this.updateRealNameInfoHandler(v);
	        });
	        UEventHub.on('getcode',function(v){
	            this.refs.getCode.toCount();
	        }.bind(this));
	        UEventHub.on(PageDM.acImgBtn.dmbind + UI_EVENT_CONST.SET_UDM_VALUE_EVENT,function(v){
	            var _node = this.refs.acImgBtn;
	            _node.setAttribute('src',PageDM.acImgBtn.getValue());
	        }.bind(this));
	    },
	    updateRealNameInfoHandler: function (v) {
	        var _this = this;
	       _this.setState({
	           realName:v
	       })
	    },
	    render: function () {
	        var _this = this;
	        var PageDM = window.PageDM;

	        return (
	            React.createElement("div", null, 
	                React.createElement("div", {className: "header"}, 
	                    React.createElement("div", {className: "top-bar fc-light"}, 
	                        React.createElement("div", {className: "container"}, 
	                            React.createElement("span", null, "服务热线：0816-2373017"), 
	                            React.createElement("span", null, "服务时间：工作日 9:00-18:00"), 
	                            React.createElement("span", {className: "nav-right"}, 
	                            React.createElement("a", {href: "登录.html"}, "登录"), 
	                            React.createElement("a", {href: "注册.html"}, "注册"), 
	                            React.createElement("a", {href: "../帮助中心/平台介绍.html"}, "帮助中心"), 
	                            React.createElement("a", {href: "../index.html"}, "返回绵阳商业银行")
	                        )
	                        )
	                    ), 
	                    React.createElement("div", {className: "header-nav"}, 
	                        React.createElement("div", {className: "container"}, 
	                            React.createElement("div", {className: "logo f-left"}, 
	                                React.createElement("a", {href: "../index.html"}, 
	                                    React.createElement("img", {src: "../images/logo.jpg", alt: ""})
	                                ), 
	                                React.createElement("a", {href: "../index.html"}, 
	                                    React.createElement("img", {src: "../images/logoe.jpg", alt: ""})
	                                )
	                            ), 
	                            React.createElement("div", {className: "nav f-right"}, 
	                                React.createElement("ul", {className: "clearfix"}, 
	                                    React.createElement("li", null, React.createElement("a", {href: "../index.html"}, "首页")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../我要投资.html"}, "我要投资")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../我要借款.html"}, "我要借款")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../账户中心/我的账户.html"}, "我的账户"))
	                                )
	                            ), 
	                            React.createElement("div", {className: "clear"})
	                        ), 
	                        React.createElement("div", {className: "shadow"})
	                    )
	                ), 

	                React.createElement("div", {className: "mod-account container"}, 
	                    React.createElement("div", {className: "sub-nav", ref: "realName"}, 
	                        React.createElement(RealName, {data: this.state.realName})
	                    ), 
	                    React.createElement("div", {className: "account padding"}, 
	                        React.createElement("div", {className: "bank-card"}, 
	                            React.createElement("div", {className: "title-account"}, React.createElement("span", null, "添加银行卡")), 
	                            React.createElement("div", {className: "tips fc-main"}, React.createElement("i", {className: "iconfont icon-tips"}), "（您所添加的银行账户将用于收取投资本金及收益，请认真填写以下内容，确保其真实性。)"), 
	                            React.createElement("div", {className: "list mod-reg clearfix"}, 
	                                React.createElement("div", {className: "form"}, 
	                                    React.createElement(FormItem, {label: "<span>*</span>开户姓名：", dmbind: PageDM.acName.dmbind}, 
	                                        React.createElement(Input, {placeholder: PageDM.acName.placeholder, dmbind: PageDM.acName.dmbind})
	                                    ), 
	                                    React.createElement(FormItem, {label: "<span>*</span>身份证号码：", dmbind: PageDM.acIdNum.dmbind}, 
	                                        React.createElement(Input, {placeholder: PageDM.acIdNum.placeholder, dmbind: PageDM.acIdNum.dmbind})
	                                    ), 
	                                    React.createElement(FormItem, {label: "<span>*</span>开户行：", dmbind: PageDM.acBankOption.dmbind}, 
	                                        React.createElement(SelectDropDown, {defaultValue: PageDM.acBankOption.selected, options: PageDM.acBankOption.value.options, onChange: PageDM.acBankOption.onChange, dmbind: PageDM.acBankOption.dmbind})
	                                    ), 
	                                    React.createElement(FormItem, {label: "<span>*</span>银行账号：", dmbind: PageDM.acBankNum.dmbind}, 
	                                        React.createElement(Input, {placeholder: PageDM.acBankNum.placeholder, dmbind: PageDM.acBankNum.dmbind})
	                                    ), 
	                                    React.createElement(FormItem, {label: "<span>*</span>确认银行账号：", dmbind: PageDM.acBankNum2.dmbind}, 
	                                        React.createElement(Input, {placeholder: PageDM.acBankNum2.placeholder, dmbind: PageDM.acBankNum2.dmbind})
	                                    ), 
	                                    React.createElement(FormItem, {label: "<span>*</span>预留手机号码：", dmbind: PageDM.acPhone.dmbind}, 
	                                        React.createElement(Input, {placeholder: PageDM.acPhone.placeholder, dmbind: PageDM.acPhone.dmbind})
	                                    ), 
	                                    React.createElement(FormItem, {label: "<span>*</span>图形验证码：", dmbind: PageDM.acImgCode.dmbind}, 
	                                        React.createElement(Input, {placeholder: PageDM.acImgCode.placeholder, className: "ucs-input code", dmbind: PageDM.acImgCode.dmbind}), 
	                                        React.createElement(HyperLink, {text: React.createElement("img", {src: PageDM.acImgBtn.value, className: "f-left img-code", ref: "acImgBtn", style: {height:"40px"}}), onclick: PageDM.acImgBtn.onClick})
	                                    ), 
	                                    React.createElement(FormItem, {label: "<span>*</span>短信验证码：", dmbind: PageDM.acMsgCode.dmbind}, 
	                                        React.createElement(Input, {placeholder: PageDM.acMsgCode.placeholder, className: "ucs-input code", dmbind: PageDM.acMsgCode.dmbind}), 
	                                        React.createElement(GetCode, {className: "btn btn-code", ref: "getCode", count: PageDM.acMsgBtn.count, onClick: PageDM.acMsgBtn.onClick})
	                                        /*<input type="button" className="btn btn-code btn-code-disabled" value="60秒后重新获取" dmbind={PageDM.acMsgBtn.dmbind}/>*/
	                                    ), 
	                                    React.createElement("div", {className: "check form-group"}, 
	                                        React.createElement(Checkbox, {checked: PageDM.acCheckbox.value, text: "我已阅读并同意", onclick: PageDM.acCheckbox.onClick, dmbind: PageDM.acCheckbox.dmbind}), 
	                                        React.createElement("a", {href: PageDM.url.agreement, className: "fc-link"}, " 《 绵阳市商业银行平台服务协议（个人版）》"), 
	                                        React.createElement("div", {className: "tips-error block"}, "请阅读并同意绵阳市商业银行平台服务协议")
	                                    ), 
	                                    React.createElement("div", {className: "alert-button"}, 
	                                        React.createElement("input", {type: "button", className: "btn btn-confirm confirm-addbank", value: "确认", onclick: PageDM.aclayer.confirmBack})
	                                    )
	                                )
	                                )
	                        )
	                    ), 
	                    React.createElement("div", {className: "clear"})
	                ), 
	                React.createElement("div", {className: "footer"}, 
	                    React.createElement("div", {className: "container"}, 
	                        React.createElement("div", {className: "footer-logo f-left"}, 
	                            React.createElement("p", {className: "logo-foot"}, React.createElement("img", {src: "../images/foot-logo.png", alt: ""})), 
	                            React.createElement("p", {className: "txt"}, 
	                                "2005－2013 绵阳市商业银行股份有限公司", 
	                                React.createElement("a", {href: "http://www.miitbeian.gov.cn", target: "_blank"}, "粤ICP备11013283123号")
	                            )
	                        ), 
	                        React.createElement("div", {className: "footer-nav f-right"}, 
	                            React.createElement("div", {className: "col"}, 
	                                React.createElement("h3", null, "关于我们"), 
	                                React.createElement("ul", null, 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/平台介绍.html"}, "平台介绍")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/名词解释.html"}, "名词解释")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/联系我们.html"}, "联系我们")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/服务协议.html"}, "服务协议"))
	                                )
	                            ), 
	                            React.createElement("div", {className: "col"}, 
	                                React.createElement("h3", null, "安全保障"), 
	                                React.createElement("ul", null, 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/安全保障.html"}, "项目安全")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/安全保障.html"}, "资金安全")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/安全保障.html"}, "信息安全")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/安全保障.html"}, "账户安全"))
	                                )
	                            ), 
	                            React.createElement("div", {className: "col"}, 
	                                React.createElement("h3", null, "帮助中心"), 
	                                React.createElement("ul", null, 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/投资操作指引.html"}, "投资指引")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/融资操作指引.html"}, "融资指引")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/平台公告.html"}, "平台公告")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "javascript:;"}, "常见问题"))
	                                )
	                            ), 
	                            React.createElement("div", {className: "col col-service"}, 
	                                React.createElement("p", null, "客服专线", React.createElement("br", null), "0816-2373017"), 
	                                React.createElement("p", null, "服务时间", React.createElement("br", null), "工作日9:00 - 18:00")
	                            )
	                        ), 
	                        React.createElement("div", {className: "clear"})
	                    )
	                )

	            )
	        )
	    }
	});
	ReactDOM.render(React.createElement(Root, null), document.getElementById('main'));

/***/ },
/* 1 */,
/* 2 */
/***/ function(module, exports, __webpack_require__) {

	/**
	 * Created by Administrator on 2017/3/14.
	 */
	var Button = __webpack_require__(3);
	//查询样式是否存在
	function hasClass(elem, cls) {
	    elem = elem || {};
	    return new RegExp("\\b" + cls + "\\b").test(elem.className);
	}
	//添加样式
	function addClass(elem, cls) {
	    elem = elem || {};
	    hasClass(elem, cls) || (elem.className += " " + cls);
	    elem.className = elem.className.replace(/^\s|\s$/g, "").replace(/\s+/g, " ");
	}
	//删除样式
	function removeClass(elem, cls) {
	    elem = elem || {};
	    if (hasClass(elem, cls)) {
	        elem.className = elem.className.replace(new RegExp("(\\s|^)" + cls + "(\\s|$)"), "");
	    }
	};
	//obj为要绑定事件的元素，ev为要绑定的事件，fn为绑定事件的函数
	function myAddEvent(obj, ev, fn) {
	    if (obj.attachEvent) {
	        obj.attachEvent("on" + ev, fn);
	    }
	    else {
	        obj.addEventListener(ev, fn, false);
	    }
	}
	function myRemoveEvent(obj, ev, fn) {
	    if (obj.attachEvent) {
	        obj.detachEvent("on" + ev, fn);
	    }
	    else {
	        obj.removeEventListener(ev, fn, false);
	    }
	}

	var Layer = React.createClass({displayName: "Layer",
	    getDefaultProps: function () {
	        return {
	            display: false,
	            type: "",
	            width: "",
	            height: "",
	            className: "",
	            showClose: true,
	            closeBack: "",
	            position: "fixed",
	            confirm: "",
	            confirmBack: "",
	            cancel: "",
	            cancelBack: "",
	            afterBack: "",
	            animation: "layer-anim-1",
	            maskLayer: true,
	            shadeClose: false,
	            move: true,
	            autoClose: 0,
	            id: "",
	            left: "",
	            top: "",
	            contentHeight: "" //内容区域高
	        }
	    },
	    getInitialState: function () {
	      return{
	          display:this.props.display ? 'block':'none'
	      }
	    },
	    componentDidMount: function () {
	        console.log('dfdfdfdf');
	        myAddEvent(window, 'resize', this._handleResize.bind(this));
	    },
	    layerOpen: function () {
	        var _this = this;
	        // this.refs.ucslayer.style.display = "block";
	        this.setState({display:'block'});
	        addClass(this.refs.ucslayer,this.props.animation);
	        this._setPosition();
	        //添加遮罩层
	        this.props.maskLayer ? this._maskLayer() : "";
	        //窗口加载完回调
	        this.props.afterBack ? this.props.afterBack() : "";
	        //计算倒计时
	        this.props.autoClose > 0 ? this._handleCountdown() : "";
	    },
	    layerClose: function () {
	        var _this = this;
	        // this.refs.ucslayer.style.display = "none";
	        this.setState({display:'none'});
	        removeClass(_this.refs.ucslayer,_this.props.animation);
	        //移除遮罩层
	        document.body.removeChild(_this.divEL);
	        if (this.props.shadeClose) {
	            myRemoveEvent(_this.divEL, 'click', this._handleMaskLayerClick);
	            //this.divEL.removeEventListener('click', this._handleMaskLayerClick);
	        }
	        // this.props.closeBack ? this.props.closeBack() : "";
	        clearInterval(this.timer);
	    },
	    _handleResize: function () {
	        //console.log("窗口改变");//传个参数进去，浏览器窗口缩放时不修改弹出层的宽高，只调整位置保持居中
	        //确保窗口在显示状态才执行缩放，隐藏下取不到高
	        this.state.display === "block" ? this._setPosition("resize") : "";
	    },
	    _handleCountdown: function () {
	        //倒计时
	        clearInterval(this.timer);
	        var i = this.props.autoClose;
	        this.timer = setInterval(function () {
	            i--;
	            this.refs.autoClose.innerHTML = i;
	            if (i == 0) {
	                this.layerClose();
	            }
	        }.bind(this), 1000);
	    },
	    _maskLayer: function () {
	        this.divEL = document.createElement('div');
	        this.divEL.className = "layer-background";
	        document.body.appendChild(this.divEL);
	        this.props.shadeClose ?
	            myAddEvent(this.divEL, 'click', this._handleMaskLayerClick) : "";
	        //this.divEL.addEventListener("click", this._handleMaskLayerClick) : "";
	    },
	    _handleMaskLayerClick: function () {
	        //遮罩层点击
	        this.layerClose();
	    },
	    _setPosition: function (t) {
	        //浏览器窗口宽高兼容写法
	        this.windowWidth = (document.documentElement.scrollWidth > document.documentElement.clientWidth) ? document.documentElement.scrollWidth : document.documentElement.scrollWidth;
	        this.windowHeight = (document.documentElement.scrollHeight > document.documentElement.clientHeight) ? document.documentElement.scrollHeight : document.documentElement.clientHeight;

	        //如果设定了高宽，则使用设定的
	        this.layerWidth = this.props.width ? this.props.width : this.refs.ucslayer.offsetWidth;
	        this.layerHeight = this.props.height ? this.props.height : this.refs.ucslayer.offsetHeight;
	        this.layerHeight = this.layerHeight > this.windowHeight ? this.windowHeight : this.layerHeight;//如果弹层高度大于浏览器窗口高，则使用浏览器窗口高
	        var scrollTop = 0;// 滚动条的高度
	        if (this.props.position == "absolute") {
	            if (document.documentElement && document.documentElement.scrollTop) {
	                scrollTop = document.documentElement.scrollTop;
	            }
	            else if (document.body) {
	                scrollTop = document.body.scrollTop;
	            }
	        }
	        var left = (parseInt(this.windowWidth) - parseInt(this.layerWidth)) / 2;
	        var top = (parseInt(document.body.clientHeight) - parseInt(this.layerHeight)) / 2;
	        if (t !== "resize") {
	            this.refs.ucslayer.style.width = this.layerWidth;
	            this.refs.ucslayer.style.height = this.layerHeight;
	        }
	        this.refs.ucslayer.style.left = left + "px";
	        this.refs.ucslayer.style.top = top < 0 ? 0 : top + "px";
	        if(this.refs.layerHeader){
	            this.refs.layerContent.style.height = parseInt(this.layerHeight) - parseInt(this.refs.layerHeader.offsetHeight);
	        }else{
	            this.refs.layerContent.style.height = parseInt(this.layerHeight);
	        }

	    },
	    _handleCloseClick: function () {
	        //点击关闭时
	        this.props.closeBack ? this.props.closeBack() : this.layerClose();
	    },
	    _handleConfirmClick: function () {
	        //确认按钮点击时
	        this.props.confirmBack ? this.props.confirmBack() : this.layerClose();
	    },
	    _handleCancelClick: function () {
	        //取消按钮点击时
	        this.props.cancelBack ? this.props.cancelBack() : this.layerClose();
	    },
	    _handleMousedown: function (e) {
	        if (this.props.move) {
	            this.mx = e.pageX - parseInt(this.refs.ucslayer.style.left);
	            this.my = e.pageY - parseInt(this.refs.ucslayer.style.top);
	            this.move = true;
	            myAddEvent(document, 'mousemove', this._handleMouseMove.bind(this));
	            myAddEvent(document, 'mouseup', this._handleMouseUp.bind(this));
	        }
	    },
	    _handleMouseMove: function (e) {
	        if (this.move) {
	            e = event || window.event;
	            var x = e.clientX - parseInt(this.mx);
	            var y = e.clientY - parseInt(this.my);

	            var documentHeight = document.documentElement.clientHeight;
	            if (x <= 0) {
	                x = 0
	            } else if (x > parseInt(this.windowWidth) - parseInt(this.layerWidth)) {
	                //window窗口宽－弹层宽
	                x = parseInt(this.windowWidth) - parseInt(this.layerWidth)
	            }
	            if (y <= 0) {
	                y = 0
	            } else if (y > documentHeight - parseInt(this.layerHeight)) {
	                y = documentHeight - parseInt(this.layerHeight)
	            }
	            this.refs.ucslayer.style.left = x + "px";
	            this.refs.ucslayer.style.top = y + "px";
	            return false;
	        }
	    },
	    _handleMouseUp: function () {
	        this.move = false;
	        myRemoveEvent(document, 'mousemove', this._handleMouseMove.bind(this));
	        myRemoveEvent(document, 'mouseup', this._handleMouseUp.bind(this));

	    },
	    render:function(){
	        window._tmpid1 = window._tmpid1||1;
	        var props = this.props;
	        var style = "width:" + props.width + ";" + "height:" + props.height + ";"+ "display:"+this.state.display + ";"+ "position:"+ props.position+";";
	        var bodyClass = "ucs-layer-body "+(props.type?"ucs-layer-text":"");
	        var bodyContent = "";
	        if (props.type === "text") {
	            //纯文字
	            bodyContent = (React.createElement("div", {className: "ucs-layer-txt"}, props.children));
	        } else if (props.type === "success") {
	            //成功时
	            bodyContent = (
	                React.createElement("div", {className: "ucs-layer-success"}, 
	                    React.createElement("i", {className: "iconfont icon-success icon"}), 
	                    props.children
	                )
	            )
	        }
	        else if (props.type === "failure") {
	            //失败时
	            bodyContent = (
	                React.createElement("div", {className: "ucs-layer-failure"}, 
	                    React.createElement("i", {className: "iconfont icon-failure icon"}), 
	                    props.children
	                )
	            )
	        } else {
	            //其它
	            bodyContent = props.children
	        }
	        var close = (
	                props.showClose ? React.createElement("a", {href: "javascript:;", className: "ucs-layer-close", onClick: this._handleCloseClick.bind(this)}) : ""
	            )
	            ;
	        var button = "";
	        if (props.confirm || props.cancel) {
	            button = (
	                React.createElement("div", {className: "ucs-layer-footer"}, 
	                    props.confirm ? React.createElement(Button, {onClick: this._handleConfirmClick.bind(this), buttonType: "confirm", value: props.confirm}) : "", 
	                    props.cancel ? React.createElement(Button, {onClick: this._handleCancelClick.bind(this), buttonType: "cancel", value: props.cancel}) : ""
	                )
	            );
	        }
	        var autoClose = (
	            this.props.autoClose > 0 ? React.createElement("div", {className: "ucs-autoclose"}, React.createElement("span", {ref: "autoClose"}, this.props.autoClose), "秒后自动关闭!") : ""
	        );
	        var moveStyle = {cursor:(this.props.move ? "move;" : ";")};
	        window._tmpid1++;
	        return (
	            React.createElement("div", {id: window._tmpid1, className: "ucs-layer "+props.className+" "+props.animation, style: {display:this.state.display}, ref: "ucslayer"}, 
	                close, 
	                props.title ? React.createElement("div", {className: "ucs-layer-header", onmousedown: this._handleMousedown.bind(this), ref: "layerHeader", style: moveStyle}, props.title) : "", 
	                autoClose, 
	                React.createElement("div", {className: "ucs-layer-content", ref: "layerContent", style: {height:props.contentHeight}}, 
	                    React.createElement("div", {className: bodyClass}, bodyContent), 
	                    button
	                )
	            )
	        )
	    }
	});

	module.exports = Layer;

/***/ },
/* 3 */
/***/ function(module, exports) {

	var Button = React.createClass({displayName: "Button",
		config:{
	        id:""
	    },
		render: function() {
			var customClassNameArr=this.props.className?this.props.className.split(' '):'';
	        var customClassName ='ucs-btn';
	        if(customClassNameArr.length>0){
	            for(var i=0;i<customClassNameArr.length;i++){
	                customClassName=customClassNameArr[i]+' '+customClassName;
	            }
	        }
			this.props.className = customClassName;
			var id = this.props.id?this.props.id:'';
			if(this.props.href){
				return React.createElement("a", {id: id, onclick: this.props.onclick, className: this.props.className, href: this.props.href}, this.props.value)
			}else{
				return React.createElement("button", {id: id, onclick: this.props.onclick, className: this.props.className}, this.props.value)
			}
		}
	})
	module.exports = Button;

/***/ },
/* 4 */
/***/ function(module, exports) {

	var Input =  React.createClass({displayName: "Input",
		getDefaultProps:function(){
			return {
				className:'ucs-input',
				dmbind:'',
				placeholder:"",
				onFocus:function(){},
				onBlur:function(){}
			};
		},
		render:function(){
			return React.createElement("input", {ref: "input", type: "text", className: this.props.className, dmbind: this.props.dmbind, placeholder: this.props.placeholder, onfocus: this.props.onFocus, onblur: this.props.onBlur})
		}
	})
	module.exports = Input;

/***/ },
/* 5 */
/***/ function(module, exports, __webpack_require__) {

	/**
	 * Created by Administrator on 2017/3/1.
	 */
	var Label = __webpack_require__(6);

	var FormItem = React.createClass({displayName: "FormItem",
	    getDefaultProps:function(){
	        return{
	            id:"",
	            label:"",
	            dmbind:"",
	            className:"",
	            correctMsg:''
	        }
	    },
	    componentDidMount:function(){

	    },
	    getInitialState:function(){
	        return {
	            tipHide:true
	        }
	    },
	    render:function(){
	        var _udmid = this.props.dmbind;
	        var _this = this;
	        UEventHub.on(_udmid + UI_EVENT_CONST.ONVALIDATE_EVENT,function(msg){
	            var tipNode = this.refs[_udmid],
	                tipInner,
	                _msg = msg;
	            if(!_msg){
	                tipInner = React.createElement("div", null, React.createElement("i", {className: "iconfont icon-correct"}), this.props.correctMsg);
	                tipNode.className = "ucs-form-explain success";
	            }else{
	                tipInner = React.createElement("div", null, React.createElement("i", {className: "iconfont icon-error"}), React.createElement("span", null, _msg));
	                tipNode.className = "ucs-form-explain";
	            }
	            tipNode.innerHTML = tipInner.innerHTML;
	        }.bind(this));
	        return(
	            React.createElement("div", {className: "ucs-form-group " + this.props.className, id: this.props.id}, 
	                React.createElement(Label, {value: this.props.label}), 
	                
	                    this.props.children.map(function(item,idx){
	                        return React.cloneElement(item,{onFocus:function(){
	                            _this.refs[_this.props.dmbind].className = "ucs-form-explain hide";
	                        }});
	                    }), 
	                
	                React.createElement("div", {className: "ucs-form-explain", ref: this.props.dmbind})
	            )
	        )
	    }
	});

	module.exports = FormItem;

/***/ },
/* 6 */
/***/ function(module, exports) {

	/**
	 * Created by DuHuiling on 2017/2/24.
	 */
	var Label = React.createClass({displayName: "Label",
	    getDefaultProps:function(){
	        return {
	            id:"",
	            setFor:"",
	            value:"这是Label",
	            className:""
	        }
	    },
	    render:function(){
	        return(
	            React.createElement("label", {id: this.props.id, For: this.props.setFor, className: "ucs-label "+this.props.className}, this.props.value)
	        )
	    }
	});
	module.exports = Label;

/***/ },
/* 7 */,
/* 8 */
/***/ function(module, exports) {

	var Checkbox = React.createClass({displayName: "Checkbox",
	    getDefaultProps:function(){
	        return{
	            id: "",
	            value: ""
	        }
	    },
	    handler: function (e) {
	        var _input = e.target || e.srcElement,
	            _checked = _input.checked;
	        this.props.onclick && this.props.onclick(_checked);
	    },
	    render: function () {
	        var checked = this.props.checked ? true : false;
	        var className = this.props.className;
	        var text = this.props.text ? this.props.text : '';
	        return (
	            React.createElement("label", {className: className ? "ucs-checkbox " + className : "ucs-checkbox"}, 
	                React.createElement("input", {type: "checkbox", checked: checked, id: this.props.id, value: this.props.value, className: "ucs-checkbox-input", 
	                       onclick: this.handler.bind(this)}), 
	                React.createElement("span", {className: "ucs-checkbox-text"}, text)
	            )
	        )
	    }
	});

	module.exports = Checkbox;




/***/ },
/* 9 */,
/* 10 */,
/* 11 */,
/* 12 */,
/* 13 */,
/* 14 */,
/* 15 */,
/* 16 */,
/* 17 */,
/* 18 */,
/* 19 */,
/* 20 */,
/* 21 */,
/* 22 */
/***/ function(module, exports) {

	/**
	 * Created by Administrator on 2017/3/10.
	 */

	var GetCode = React.createClass({displayName: "GetCode",
	    getDefaultProps:function(){
	        return{
	            text:"获取验证码",
	            count: 10
	        }
	    },
	    getInitialState:function(){
	        return{
	            _className:this.props.className ? "ucs-btn "+this.props.className : "ucs-btn",
	            _text:this.props.text,
	            _disabled:false
	        }
	    },
	    toCount:function(){
	        var _this = this;
	        var count = _this.props.count,
	            className = _this.props.className ? "ucs-btn "+_this.props.className : "ucs-btn";
	        _this.setState({
	            _className : className + " ucs-btn-disabled",
	            _text : count + "秒后重新获取",
	            _disabled : true
	        });
	        var time = setInterval(function(){
	            if(count > 0){
	                count--;
	                _this.setState({
	                    _text : count + "秒后重新获取"
	                })
	            }else{
	                clearInterval(time);
	                _this.setState({
	                    _className : className,
	                    _text : _this.props.text,
	                    _disabled : false
	                });
	            }
	        },1000);
	    },
	    render:function(){
	        return(
	            React.createElement("button", {disabled: this.state._disabled, onclick: this.props.onClick, className: this.state._className}, this.state._text)
	        )
	    }
	});
	module.exports = GetCode;

/***/ },
/* 23 */
/***/ function(module, exports) {

	/**
	 * Created by DuHuiling on 2017/2/20.
	 */
	var HyperLink = React.createClass({displayName: "HyperLink",
	    getDefaultProps:function(){
	        return {
	            "id":"",
	            "className":"",
	            "href":"javascript:void(0)",
	            "text":""
	        }
	    },
	    render:function(){
	        return (
	            React.createElement("a", {id: this.props.id, className: "ucs-hyper-link "+this.props.className, href: this.props.href, onclick: this.props.onclick}, this.props.text)
	        )
	    }
	});

	module.exports = HyperLink;

/***/ },
/* 24 */,
/* 25 */,
/* 26 */,
/* 27 */,
/* 28 */,
/* 29 */,
/* 30 */
/***/ function(module, exports) {

	/**
	 * Created by DuHuiling on 2017/2/24.
	 */
	var closeOpen = function(){
	    var _open = document.getElementsByClassName('open')[0];
	    if(_open){
	        var _classArr = _open.className.split(" ");
	        for(var i in _classArr){
	            if(_classArr[i] == "open"){
	                _classArr.splice(i,1);
	            }
	        }
	        var _className = _classArr.join(" ");
	        _open.className = _className;
	    }
	}
	window.onclick = function(){
	    closeOpen();
	};

	var SelectDropDown = React.createClass({displayName: "SelectDropDown",
	    getDefaultProps: function () {
	        return {
	            id:"",
	            value: "",//默认初始值
	            className: "",
	            type: "", //三种类型，bank,search
	            showNum: "",
	            options: "",
	            defaultValue: "请选择",
	            searchButton: "",
	            placeholder: "",
	            inputChange: "",//搜索时输入框回调
	            buttonClick: "",//搜索时按钮回调
	            _dmid: new UDM({}).dmbind /*为每个 select-dropdown 创建udmid*/
	        }
	    },
	    getInitialState:function(){
	        return{
	            currentIdx:this.props.defaultValue,
	            currentValue:0,
	            _className:this.props.className ? "ucs-select-dropdown "+ this.props.className : "ucs-select-dropdown"
	        }
	    },
	    _toggle:function(ref,e){
	        var _current = this.refs[this.props._dmid];

	        if(e && e.stopPropagation){
	            //因此它支持W3C的stopPropagation()方法
	            e.stopPropagation();
	        }else{
	            //否则我们使用ie的方法来取消事件冒泡
	            window.event.cancelBubble = true;
	        }
	        this.setState({
	            _className:this._toggleOpen(_current.className)
	        })
	    },
	    _toggleOpen: function(_class){
	        var _classList = _class.split(" ");
	        var j = 0;
	        for(var i=0; i<_classList.length;i++){
	            if(_classList[i] == "open"){
	                j = i;
	            }
	        }
	        if(j){
	            _classList.splice(j,1);
	        }else{
	            _classList.push('open');
	        }
	        _classList = _classList.join(" ");
	        return _classList;
	    },
	    _select:function(idx,val,ref){
	        var _node = this.refs[ref],
	            _input = this.refs[ref + '-control'];
	        _node.className = this._toggleOpen(_node.className);
	        _input.innerHTML = this.props.options[idx].option;

	        this.state.currentIdx = idx;
	        if(val.value){
	            this.state.currentValue = val.value;
	        }else{
	            this.state.currentValue = idx;
	        }

	        var _v = this.getCurrentSelect();
	        this.props.onChange ? this.props.onChange(_v) : "";
	    },
	    getCurrentSelect:function(){
	        return {
	            index:Number(this.state.currentIdx),
	            value:this.state.currentValue
	        }
	    },
	    /*下拉选项列表*/
	    selectList: function(){
	        var _lis = [],_that = this;
	        for(var i=0; i<this.props.options.length;i++){
	            (function(j,val,ref){
	                _lis.push(
	                    React.createElement("li", {onclick: _that._select.bind(_that,j,val,ref)}, 
	                        _that.props.options[j].option
	                    )
	                );
	            })(i,this.props.options[i],this.props._dmid);
	        }
	        return React.createElement("ul", null, _lis)
	    },
	    render:function(){
	        /*判断defaultValue是否是数字，“是”则代表默认显示第几个选项*/
	        var defaultValue = this.state.currentIdx,
	            _dom;
	        if(typeof defaultValue == "number"){
	            _dom = this.props.options[defaultValue].option;
	        }else{
	            _dom = defaultValue;
	        }

	        return (
	            React.createElement("div", {className: this.state._className, ref: this.props._dmid}, 
	                React.createElement("div", {className: "ucs-select-control", ref: this.props._dmid + '-select-click', onclick: this._toggle.bind(this,this.props._dmid + '-select-click')}, 
	                    React.createElement("div", {className: "ucs-input", ref: this.props._dmid + '-control'}, _dom), 
	                    React.createElement("span", {className: "ucs-icon"})
	                ), 
	                React.createElement("div", {className: "ucs-dropdown"}, 
	                    React.createElement("div", {className: "ucs-dropdown-border"}, 
	                         this.selectList.bind(this)() 
	                    )
	                )
	            )
	        )
	    }
	});
	module.exports = SelectDropDown;

/***/ },
/* 31 */,
/* 32 */,
/* 33 */,
/* 34 */,
/* 35 */,
/* 36 */,
/* 37 */
/***/ function(module, exports, __webpack_require__) {

	/*
	 * Created by Administrator on 2017/3/31.
	 */

	var Tooltip = __webpack_require__(38);
	var RealName = React.createClass({displayName: "RealName",
	    getDefaultProps: function() {
	        return{
	            data:{
	                AccType:0,
	                Mobile:"",  //手机
	                IsBindMobile:"",//是否绑定手机
	                BindMobileUrl:"",//绑定手机链接
	                IsBindIDCard:"",//是否验证身份
	                BindIDCardUrl:"",//验证身份链接
	                IsBindBankCard:"",//是否绑卡
	                BindBankCardUrl:"",//绑卡链接
	                Current:"InvestAccount",  //当前选中菜单
	                InvestAccountUrl:"",//账户总览链接
	                InvestListUrl:"",//投资记录链接
	                MyBankCardUrl:"",//我的银行卡链接
	                InvestInfoUrl:"",//投资个人信息
	                InvestMessageUrl:"",//投资消息中心
	                FinanceAccountUrl:"",//账户总览链接
	                FinanceListUrl:"",//融资记录链接
	                FinanceAccountInfoUrl:"",//融资账号信息
	                FinanceMessageUrl:""//融资消息中心
	            }
	        }
	    },
	    componentDidMount:function(){

	    },
	    render: function () {
	        return (
	            React.createElement("div", null, 
	                React.createElement("div", {className: "info", ref: "realName"}, 
	                        React.createElement("div", {className: "face"}, React.createElement("img", {src: "../images/account/face.jpg", alt: ""}), this.props.data.Mobile), 
	                    this.props.data.AccType ? "" :React.createElement("div", {className: "bind"}, 
	                        React.createElement(Tooltip, {title: this.props.data.IsBindMobile ? "已绑定手机" : "未绑定手机"}, React.createElement("i", {className: "iconfont icon-phone1 tooltip "+ (this.props.data.IsBindMobile ? "ok" : "")}), React.createElement("a", {href: this.props.data.BindMobileUrl})), 
	                        React.createElement(Tooltip, {title: this.props.data.IsBindIDCard ? "已绑定身份证" : "未绑定身份证"}, React.createElement("i", {className: "iconfont icon-idcard2 tooltip "+ (this.props.data.IsBindIDCard ? "ok" : "")}), React.createElement("a", {href: this.props.data.BindIDCardUrl})), 
	                        React.createElement(Tooltip, {title: this.props.data.IsBindBankCard ? "已绑定银行卡" : "未绑定银行卡", className: "iconfont icon-bankcard tooltip "+ (this.props.data.IsBindBankCard ? "ok" : "")}, React.createElement("a", {href: this.props.data.BindBankCardUrl}))
	                    )
	                    
	                ), 
	                React.createElement("div", {className: "nav"}, 
	                    this.props.data.AccType ? React.createElement("ul", null, 
	                            React.createElement("li", null, React.createElement("a", {href: this.props.data.FinanceAccountUrl, className: this.props.data.Current == "FinanceAccount" ? "current": ""}, " ", React.createElement("i", {className: "icon-loan iconfont"}), "账户总览")), 
	                            React.createElement("li", null, React.createElement("a", {href: this.props.data.FinanceListUrl, className: this.props.data.Current == "FinanceList" ? "current": ""}, React.createElement("i", {className: "icon-card iconfont"}), "融资记录")), 
	                            React.createElement("li", null, React.createElement("a", {href: this.props.data.FinanceAccountInfoUrl, className: this.props.data.Current == "FinanceAccountInfo" ? "current": ""}, React.createElement("i", {className: "icon-personal iconfont"}), "账号信息")), 
	                            React.createElement("li", null, React.createElement("a", {href: this.props.data.FinanceMessageUrl, className: this.props.data.Current == "FinanceMessage" ? "current": ""}, React.createElement("i", {className: "icon-news iconfont"}), "消息中心", React.createElement("b", null))), " ")
	                          : React.createElement("ul", null, React.createElement("li", null, React.createElement("a", {href: this.props.data.InvestAccountUrl, className: this.props.data.Current == "InvestAccount" ? "current": ""}, " ", React.createElement("i", {className: "icon-loan iconfont"}), " 账户总览")), 
	                        React.createElement("li", null, React.createElement("a", {href: this.props.data.InvestListUrl, className: this.props.data.Current == "InvestList" ? "current": ""}, " ", React.createElement("i", {className: "icon-record iconfont"}), "投资记录")), 
	                        React.createElement("li", null, React.createElement("a", {href: this.props.data.MyBankCardUrl, className: this.props.data.Current == "MyBankCard" ? "current": ""}, " ", React.createElement("i", {className: "icon-card iconfont"}), "我的银行卡")), 
	                        React.createElement("li", null, React.createElement("a", {href: this.props.data.InvestInfoUrl, className: this.props.data.Current == "InvestInfo" ? "current": ""}, " ", React.createElement("i", {className: "icon-personal iconfont"}), "个人信息")), 
	                        React.createElement("li", null, React.createElement("a", {href: this.props.data.InvestMessageUrl, className: this.props.data.Current == "InvestMessage" ? "current": ""}, " ", React.createElement("i", {className: "icon-news iconfont"}), "消息中心", React.createElement("b", null)))
	                    )
	                ), 
	                React.createElement("div", {className: "qrcode"}, 
	                    React.createElement("p", {className: "ss"}, "扫一扫，立马赚钱", React.createElement("b", {className: "bg-icon"})), 
	                    React.createElement("img", {src: "../images/qrcode.jpg", alt: ""})
	                )
	            )
	        )
	    }
	})

	module.exports = RealName;

/***/ },
/* 38 */
/***/ function(module, exports) {

	/**
	 *
	 * @constructs
	 */
	var Tooltip = React.createClass({displayName: "Tooltip",
	    _addEventListener:function(obj,ev,fn){
			obj.addEventListener ? obj.addEventListener(ev,fn,false) : obj.attachEvent("on" + ev,fn)
	    },
	    _removeEventListener: function (obj, ev, fn) {
	        obj.removeEventListener ? obj.removeEventListener(ev, fn, false) : obj.detachEvent("on" + ev, fn)
	    },
		getDefaultProps: function() {
			return {
				container: document.body,
				position: 'top',
				fixed: true,
				space: 5
			}
		},
		componentDidMount: function() {
			this.container = this.props.container || document.body;
			this.componentEl = this.refs.tooltipbox;
			this.tooltipEl = document.createElement('div');

			var tooltipArrowEl = document.createElement('div');
			tooltipArrowEl.className = 'ucs-tooltip-arrow';

			var tooltipContentEl = document.createElement('div');
			tooltipContentEl.className = 'ucs-tooltip-inner';
			tooltipContentEl.innerHTML = this.props.title;

			this.tooltipEl.appendChild(tooltipArrowEl);
			this.tooltipEl.appendChild(tooltipContentEl);
			this.tooltipEl.className = 'ucs-tooltip ' + this.props.position;
			this.container.appendChild(this.tooltipEl);
			this.resetTooltip();
			var _componentEl =  this.componentEl;
			this._addEventListener(_componentEl, this.props.fixed ? 'mouseenter' : 'mousemove', this.handleMouseMove.bind(this));
			this._addEventListener(_componentEl, 'mouseleave', this.handleMouseOut.bind(this));
		},

		resetTooltip: function() {
			this.tooltipEl.style.left = '-500px';
			this.tooltipEl.style.top = '-500px';
			this.tooltipEl.style.visibility = "hidden";
		},

		handleMouseMove: function(e) {
			if(!this.props.title) {
				return;
			}

			var tooltipPosition = this.getTooltipPosition(e);
			var tooltipOffset = this.getTooltipOffset();

			this.tooltipEl.style.left = tooltipPosition.x + tooltipOffset.x + 'px';
			this.tooltipEl.style.top = tooltipPosition.y + tooltipOffset.y + 'px';
			this.tooltipEl.style.visibility = "visible";
		},

		handleMouseOut: function() {
			this.resetTooltip();
		},
		//定位到标签的位置
		getTooltipPosition: function(e) {
			var pointX;
			var pointY;
			var bodyRect = document.body.getBoundingClientRect();
			var containerRect = this.container.getBoundingClientRect();
			var containerOffsetX = containerRect.left - bodyRect.left;
			var containerOffsetY = containerRect.top - bodyRect.top;
			if(this.props.fixed) {
				var componentRect = this.componentEl.getBoundingClientRect();
				var componentOffsetX = componentRect.left - containerOffsetX;
				var componentOffsetY = componentRect.top - containerOffsetY;
				var componentWidth = this.componentEl.offsetWidth;
				var componentHeight = this.componentEl.offsetHeight;
				var cOffsetX = 0;
				var cOffsetY = 0;
				switch(this.props.position) {
					case 'top':
						cOffsetX = componentWidth / 2;
						cOffsetY = 0;
						break;
					case 'right':
						cOffsetX = componentWidth;
						cOffsetY = componentHeight / 2;
						break;
					case 'bottom':
						cOffsetX = componentWidth / 2;
						cOffsetY = componentHeight;
						break;
					case 'left':
						cOffsetX = 0;
						cOffsetY = componentHeight / 2;
						break;
				}
				pointX = componentOffsetX + cOffsetX + (window.scrollX || window.pageXOffset || document.documentElement.scrollLeft || 0);
				pointY = componentOffsetY + cOffsetY + (window.scrollY || window.pageYOffset || document.documentElement.scrollTop || 0);
			} else {
				var clientX = e.clientX;
				var clientY = e.clientY;
				pointX = clientX - containerOffsetX + (window.scrollX || window.pageXOffset || document.documentElement.scrollLeft || 0);
				pointY = clientY - containerOffsetY + (window.scrollY || window.pageYOffset || document.documentElement.scrollTop || 0);
			}
			return {
				x: pointX,
				y: pointY
			};
		},
		//获取偏移量
		getTooltipOffset: function() {
			var tooltipW = this.tooltipEl.offsetWidth;
			var tooltipH = this.tooltipEl.offsetHeight;
			var offsetX = 0;
			var offsetY = 0;
			switch(this.props.position) {
				case 'top':
					offsetX = -(tooltipW / 2);
					offsetY = -(tooltipH + Number(this.props.space));
					break;
				case 'right':
					offsetX = Number(this.props.space);
					offsetY = -(tooltipH / 2);
					break;
				case 'bottom':
					offsetX = -(tooltipW / 2);
					offsetY = Number(this.props.space);
					break;
				case 'left':
					offsetX = -(tooltipW + Number(this.props.space));
					offsetY = -(tooltipH / 2);
					break;
			}
			return {
				x: offsetX,
				y: offsetY
			};
		},
		render: function() {
			return (
			    React.createElement("div", {ref: "tooltipbox", className: this.props.className?("ucs-tooltip-wrap "+this.props.className):"ucs-tooltip-wrap"}, this.props.children)
	        )
		}
	});

	module.exports = Tooltip;

/***/ },
/* 39 */,
/* 40 */
/***/ function(module, exports) {

	/*
	 * Created by Administrator on 2017/3/31.
	 */
	var AddBankCard = React.createClass({displayName: "AddBankCard",
	    render: function () {
	        var _this = this;
	        return(React.createElement("div", {className: "item add"}, 
	                React.createElement("a", {href: "../demoAddBankCard/index.html", className: "fc-link"}, 
	                    React.createElement("i", {className: "iconfont icon-add"}), 
	                    "添加银行卡"
	                )
	            )
	        )

	    }
	})

	module.exports = AddBankCard;

/***/ }
/******/ ]);